/**
 * Created by maiseries on 2018/1/10.
 */
import React from 'react';
import {
    StyleSheet,
    View,
    Image
} from 'react-native';

export default class ListHasNoDataView extends React.Component {

    static propTypes = {
        style: React.PropTypes.number
    };

    render() {

        return (
            <View style={[base.rowCC, styles.container, this.props.style]}>
                <Image style={styles.image} source={require('../sources/image_global_no_data.png')} resizeMode={'contain'}/>
            </View>
        )
    }
}

const styles = StyleSheet.create({
    container: {
        paddingVertical: layout.height(100),
        overflow: 'hidden',
    },
    image: {
        width: layout.width(164),
        height: layout.height(246)
    }
})